var mysql = require("mysql"),
	fs = require("fs");

if (exports.db == undefined){
	console.log("*DATABASE INITIALISATION*");
	exports.db = mysql.createConnection(JSON.parse(fs.readFileSync('./mysql-config.json')), function(err){console.log("ERREUR" + err)});
};
